// 引入系统提供的UI库
import 'package:flutter/material.dart';
// 引入主页
import 'home/MyHomePage.dart';

// 入口函数
void main(){
  runApp(MyApp());  
}

// StatelessWidget 静态组件
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'movie',
      theme: ThemeData(
        // 默认颜色
        primarySwatch: Colors.blue
      ),
      debugShowCheckedModeBanner: false,
      home: MyHomePage(),
    );
  }
}
